DC motor interfacing with PIC